package com.meta.act.app.system.repository;


import com.meta.act.app.tenant.entity.TenantMenuRelate;
import com.meta.act.app.tenant.req.ro.TenantMenuRelateRo;

import java.util.List;

/**
 * 
 * 
 * @author M.simple
 * @email 1111111111111@qq.com
 * @date 2020-11-24 20:14:58
 */
public interface TenantMenuRelateRepository{

	/**
	 * insert tenantMenuRelate info
	 * @method      insertTenantMenuRelate
	 * @param       tenantMenuRelate:
	 * @return      void
	 * @author      M.simple
	 * @date        2020-11-24 20:14:58
	 */
	void insertTenantMenuRelate(TenantMenuRelate tenantMenuRelate);

	/**
	 * batch insert tenantMenuRelate info
	 * @method      insertTenantMenuRelate
	 * @param       tenantMenuRelates:
	 * @return      void
	 * @author      M.simple
	 * @date        2020-11-24 20:14:58
	 */
	void batchInsertTenantMenuRelate(List<TenantMenuRelate> tenantMenuRelates);

	/**
	 * update tenantMenuRelate info
	 * @method      updateTenantMenuRelate
	 * @param       tenantMenuRelate:
	 * @return      int
	 * @author      M.simple
	 * @date        2020-11-24 20:14:58
	 */
	int updateTenantMenuRelate(TenantMenuRelate tenantMenuRelate);

	/**
	 * update tenantMenuRelate info By pk
	 * @method      updateTenantMenuRelateByPk
	 * @param       tenantMenuRelate:
	 * @return      int
	 * @author      M.simple
	 * @date        2020-11-24 20:14:58
	 */
	int updateTenantMenuRelateByPk(TenantMenuRelate tenantMenuRelate);

	/**
	 * list tenantMenuRelate info
	 * @method      listTenantMenuRelate
	 * @param       tenantMenuRelate:
	 * @return      List<TenantMenuRelate>
	 * @author      M.simple
	 * @date        2020-11-24 20:14:58
	 */
	List<TenantMenuRelate> listTenantMenuRelate(TenantMenuRelateRo tenantMenuRelate);

}
